//package com.fanqwz.kotlinmvvm.aspect
//
//import org.aspectj.lang.JoinPoint
//import org.aspectj.lang.annotation.Aspect
//import org.aspectj.lang.annotation.Before
//import org.slf4j.LoggerFactory
//
//
///**
// * Created by fanqwz on 2017/11/3.
// */
//@Aspect
//class AppAspect {
//    @Before("execution(* com.fanqwz.kotlinmvvm.view.activity.BaseActivity.on**(..))")
//    @Throws(Throwable::class)
//    fun onActivityMethodBefore(joinPoint: JoinPoint) {
//        LoggerFactory.getLogger(joinPoint.target::class.simpleName).error("onActivityMethodBefore::${joinPoint.signature}")
//    }
//
//    @Before("execution(* com.fanqwz.kotlinmvvm.view.fragment.MVVMFragment.on**(..))")
//    @Throws(Throwable::class)
//    fun onFragmentMethodBefore(joinPoint: JoinPoint) {
//        LoggerFactory.getLogger(joinPoint.target::class.simpleName).error("onActivityMethodBefore::${joinPoint.signature}")
//    }
//}